package com.ykq.dao;

import com.ykq.pojo.Emp;
import com.ykq.vo.EmpVo;

import java.util.List;

/**
 * @program: vue_axios_ssm
 * @description:
 * @author: 闫克起
 * @create: 2023-05-10 10:38
 **/
public interface EmpDao {
    /**
     * 查询所有员工信息
     * @return
     */
    public List<Emp> findAll();

    /**
     * 根据id删除员工
     * @param id
     * @return
     */
    int delete(Integer id);

    int insert(Emp emp);

    int update(Emp emp);

    List<Emp> findAllByCondition(EmpVo empVo);
}
